/* styles.css */
.root {
  -fx-background-color: #282c34;
}

.top-panel {
  -fx-background-color: #3c3c3c;
}

.left-panel {
  -fx-background-color: #3c3c3c;
}

.control-panel {
  -fx-background-color: #3c3c3c;
}

.button {
  -fx-font-family: "Microsoft YaHei";
  -fx-font-size: 14px;
  -fx-text-fill: #4b9cd3;
  -fx-background-radius: 5;
  -fx-background-color: #e6e6e6;
  -fx-padding: 5;
}

.button:hover {
  -fx-background-color: #555555;
}

.label {
  -fx-text-fill: white;
  -fx-font-family: "Microsoft YaHei";
  -fx-font-size: 14px;
}

.default-album-cover {
  -fx-background-image: url("/static/default_cover.jpg");
  -fx-background-size: cover;
}

.list-view {
  -fx-background-color: transparent;
  -fx-border-color: #dcdcdc;
  -fx-border-width: 1;
}

.list-cell {
  -fx-padding: 5;
  -fx-background-color: #ffffff;
}

.list-cell:hover {
  -fx-background-color: #f0f0f0;
}

.scroll-bar:horizontal .thumb {
  -fx-background-color: #dcdcdc;
  -fx-background-radius: 5;
}

.scroll-bar:vertical .thumb {
  -fx-background-color: #dcdcdc;
  -fx-background-radius: 5;
}

.circle-avatar {
  -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.6), 5, 0, 0, 1);
}

.top-panel {
  -fx-background-color: #ffffff; /* 更改顶部面板背景颜色 */
}

/* 现代播放器样式 */
.modern-player-bar {
  -fx-background-color: #f5f5f7;
  -fx-border-width: 1 0 0 0;
  -fx-border-color: #e0e0e0;
  -fx-padding: 10 20 10 20;
}

.modern-slider .track {
  -fx-background-color: #e0e0e0;
  -fx-pref-height: 4px;
}

.modern-slider .thumb {
  -fx-background-color: #1ed760;
  -fx-pref-width: 12px;
  -fx-pref-height: 12px;
}

.modern-slider:hover .thumb {
  -fx-background-color: #1db954;
}

.play-pause-button {
  -fx-background-color: #1ed760;
  -fx-background-radius: 50%;
  -fx-min-width: 40px;
  -fx-min-height: 40px;
  -fx-max-width: 40px;
  -fx-max-height: 40px;
}

.play-pause-button:hover {
  -fx-background-color: #1db954;
}

.transparent-button {
  -fx-background-color: transparent;
}

.transparent-button:hover {
  -fx-background-color: rgba(0, 0, 0, 0.05);
}

.song-title {
  -fx-font-weight: bold;
  -fx-text-fill: #333333;
}

.artist-name {
  -fx-font-size: 12;
  -fx-text-fill: #888888;
}

.time-label {
  -fx-text-fill: #888888;
  -fx-font-size: 12;
}

.rounded-image-view {
  -fx-background-radius: 5px;
  -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.2), 3, 0, 0, 1);
}
